/**
 * 
 */
package com.security.frame.core.code.image;

import com.security.frame.core.code.ValidateCode;
import lombok.Getter;
import lombok.Setter;

import java.awt.image.BufferedImage;
import java.time.LocalDateTime;


/**
 * 图形验证码
 *
 * @author wangjie
 * @version V1.0
 * @date 2019/11/5
 */
@Getter
@Setter
public class ImageCode extends ValidateCode {
	
	private BufferedImage image; 
	
	public ImageCode(BufferedImage image, String code, int expireIn){
		super(code, expireIn);
		this.image = image;
	}
	
	public ImageCode(BufferedImage image, String code, LocalDateTime expireTime){
		super(code, expireTime);
		this.image = image;
	}
}
